package com.xyoto.community.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 修改家乡dto
 */
@Data
@ApiModel("修改家乡dto")
@NoArgsConstructor
public class UpdateHomeTownDTO {
    @ApiModelProperty("国家")
    private String country;

    @ApiModelProperty("省")
    private String province;

    @ApiModelProperty("市")
    private String city;

    @ApiModelProperty("县/区")
    private String county;

    public UpdateHomeTownDTO(String country, String province, String city, String county) {
        this.country = country;
        this.province = province;
        this.city = city;
        this.county = county;
    }
}
